package com.plian.system.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Author: Take-off
 * @Description: TODO
 * @Date: 2022/12/21 2:05 PM
 * @Version: 1.0
 **/
@Data
@TableName("sys_office")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Office 对象", description = "处室")
public class Office extends BaseEntity {

    @ApiModelProperty(value = "处室名称")
    private String name;

    @ApiModelProperty(value = "所属组织")
    private String orgId;

    @TableField(exist = false)
    @ApiModelProperty(value = "用户Id集合")
    private List<String> userIds;

}
